package com.bite.principle;

import com.bite.principle.component.BeanLifeComponent;
//import com.bite.principle.mapper.UserInfoMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

//@ComponentScan("com.bite.principle")
//@Import({BiteConfig.class, BiteConfig2.class})
//@Import(MyImportSelector.class)
//@EnableBiteConfig
//@Import(MyRegistrar.class)
@SpringBootApplication
public class SpringPrincipleApplication {

	public static void main(String[] args) {
		ApplicationContext context = SpringApplication.run(SpringPrincipleApplication.class, args);
		BeanLifeComponent bean = context.getBean(BeanLifeComponent.class);
//		UserInfoMapper us = context.getBean(UserInfoMapper.class);
	}

}
